#ifndef __SERIAL_H
#define __SERIAL_H

#include "stm32f10x.h"
#include "stdio.h"
#include "stdarg.h"

extern char Serial_RxPacket[];
extern uint8_t Serial_RxFlag;

void Serial_Init(void);
void Serial_SendByte(uint8_t byte);
void Serial_SendArray(uint8_t *arr, uint16_t len);
void Serial_SendString(char *str);
void Serial_SendNumber(uint32_t num, uint8_t len);
void Serial_Print(char *format, ...);
#endif // !__SERIAL_H